<!DOCTYPE HTML>
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <title></title>
  <script type='text/javascript'>
  	{% if action == 'register' %}
		window.opener.location.href = '{{register_redirect}}';
	{% elif action == 'login' %}
		window.opener.location.href = '{{login_redirect}}';
	{% endif %}
	window.close();
  </script>
  </head>
  <body>

  </body>
</html>